package com.lee.boot.batch.job;

import org.springframework.batch.core.Job;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.batch.core.configuration.annotation.JobBuilderFactory;
import org.springframework.batch.core.job.builder.JobBuilder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@Configuration
@EnableBatchProcessing
public class HelloWorldJob {

    @Autowired
    JobBuilderFactory jobBuilderFactory;


    public Job getHelloWorldJob() {
        return null;
//        return this.jobBuilderFactory.get("aaa");
    }
}
